/**
 * @ author: 汪孟苹
 */
define(function(require){
	var config = {};

	/**
	 * 根据题型获取该题目的对应的方法
	 */
	config.getQuest = function(key){
		switch(key){
			case "group":
				return require('dg/column/base/group');
			case "static_text":
				return require('dg/column/base/staticText');
			case "input":
				return require('dg/column/base/input');
			case "right_click":
				return require('dg/column/base/rightClick');
			case "modal":
				return require('dg/column/base/modal');
		}
	};

	/**
	 * 获取所有题目的题型
	 */
	config.getAllQuestType = function(){
		return ["group","static_text","input","right_click","modal"];
	}

	return config;
});